#ifndef MSG_HANDLER_H
#define MSG_HANDLER_H

#include "cJSON.h"
#include "common.h"
#include "shm.h"

char* json_in(devdata* data);
int json_out(const char* json_str, devdata* data);
void msg_handler(const char* payload, int len);

#endif